public class ReadPoints {

    public String convert(int score) {
        switch (score) {
            case 5:
                return "-";
            case 4:
                return "Advantage";
            case 3:
                return "40";
            case 2:
                return "30";
            case 1:
                return "15";
            case 0:
                return "Love";
            default:
                return "Invalid score";
        }

    }
}